package com.dao;

import com.domain.Account;

import java.util.List;

public interface Accountdao {
    Account findaccountbyid(Integer id);
    Account findaccountbyname(String name);
    List<Account> findall();
    void update(Account account);
}
